package com.example.manager.entity;

import java.util.ArrayList;
import java.util.List;

public class UserPageBean {

    public UserPageBean() {
    }

    private List<User> users = new ArrayList<>();
    // 总记录数
    private int totalSize;
    // 当前页数
    private int currentPage;
    // 总页数
    private int totalPage;
    // 每页的记录数；
    private int pageSize;

    @Override
    public String toString() {
        return "UserPageBean{" +
                "users=" + users +
                ", totalSize=" + totalSize +
                ", currentPage=" + currentPage +
                ", totalPage=" + totalPage +
                ", pageSize=" + pageSize +
                '}';
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> books) {
        this.users = books;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
